package com.wh.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wh.bean.UserInfo;
import com.wh.dao.IUserInfoDao;
import com.wh.service.IUserInfoService;

@Service
public class UserInfoServiceImpl implements IUserInfoService {
	
	@Resource
	private IUserInfoDao dao;

	@Override
	public List<UserInfo> selectUserInfo(String userPhone) throws Exception {
		return dao.selectUserInfo(userPhone);
	}

	@Override
	public List<UserInfo> findUserInfoList(UserInfo userInfo) throws Exception {
		return dao.findUserInfoList(userInfo);
	}

}
